﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MusicPlayerPlus.Interface.Model.Muisc
{
    public class MusicItem : ModelBase
    {
        /// <summary>
        /// 专辑名
        /// </summary>
        public string AlbumName { get; set; }
        /// <summary>
        /// 歌词
        /// </summary>
        public string Lyric { get; set; }
        /// <summary>
        /// 封面
        /// </summary>
        public string Cove { get; set; }
        /// <summary>
        /// 高清封面
        /// </summary>
        public string CoveHD { get; set; }
        /// <summary>
        /// 封面缩略图
        /// </summary>
        public string CoveThumbnail { get; set; }
        /// <summary>
        /// 图片 
        /// </summary>
        public System.IO.Stream PicStream { get; set; }
        /// <summary>
        /// 解密后的 下载地址
        /// </summary>
        public string Url { get; set; }
        /// <summary>
        /// 解密后的 下载地址
        /// </summary>
        public string Location { get; set; }
        /// <summary>
        /// 音频源的类型
        /// </summary>
        public Enum.MusicSourceType Type
        {
            get
            {
                return _type;
            }
            set
            {
                _type = value;
            }
        }
        private Enum.MusicSourceType _type = Enum.MusicSourceType.Local;
    }
}
